package top.lileix.mybatis.generator.x.generator;

import java.io.IOException;

import top.lileix.mybatis.generator.x.domain.Table;

public interface Generator {
    /**
     * 生成字符串
     * 
     * @param t
     * @return
     */
    String generatorStr(Table t);

    /**
     * 生成文件
     * 
     * @param t
     * @return
     */
    boolean generatorFile(Table t) throws IOException;
}
